var mongoose = require("mongoose");

var parcelleSchema = new mongoose.Schema({
     humidity: { type: Number, default: 0 },
     fertility: { type: Number, default: 0 },
     healthy_level: { type: Number, default: 0},
     maturity_level: { type: Number, default: 0},
     zone_id: { type: String }
});

var parcelle = mongoose.model('Parcelle', parcelleSchema);

module.exports = {
    Parcelle: parcelle
}